#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

int main() {
    float a, b, c;
    scanf("%f %f %f", &a, &b, &c);
    float sum = a + b + c;
    float average = sum / 3.0;
    printf("%.2f %.2f", sum, average);
    return 0;
}